home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / gus / sdkdigv8.zip / SDKV8N14.TXT < prev    next >
Text File  |  1994-01-16  |  4KB  |  91 lines

  1. Apparently-To: john.smith@gravis.com
  2.  
  3.  
  4. GUS Programmer's Digest     Sun, 16 Jan 94  3:57         Volume 8: Issue  14  
  5.  
  6. Today's Topics:
  7.                      Envelope offsets not at zero
  8.                           GUSMOD and GUSPLAY
  9.  
  10. Standard Info:
  11.     - Meta-info about the GUS can be found at the end of the Digest.
  12.     - Before you ask a question, please READ THE FAQ.
  13.  
  14. ----------------------------------------------------------------------
  15.  
  16. Date: Sat, 15 Jan 1994 18:07:32 -0500 (EST)
  17. From: Phat H Tran <ptran@sciborg.uwaterloo.ca>
  18. Subject: Envelope offsets not at zero
  19.  
  20. > Date: Fri, 14 Jan 1994 21:21:10 -0600 (CST)
  21. > From: Jason William Whiteman <jww9624@tamsun.tamu.edu>
  22. > Subject: Specific GUS Patch probs
  23. >         Secondly, I found myself questioning the entire meaning of the 
  24. > Envelope_Offset variable.  At first I thought I could just use the 
  25. > envelope data to increase the volume of the current voice (patch) by
  26. > whatever the Envelope_Offset said at whatever rate Envelope_Rate said.
  27. > However, if this method is used, the patch will never fade (decay) to
  28. > a zero volume level.  Using ACPIANO.PAT as a test patch, I noticed that
  29. > apparent zero offsets (displayed with PATCH.EXE's graphical envelope)
  30. > were actually set to an offset of "8".  After seeing this I made the
  31. > assumption that envelopes have some sort of threshold point to mark a
  32. > decay (ramp to zero volume level).  Here is some pseudo code for the
  33. > code made under this assumption (threshold=10):
  34.  
  35. I think the reason why the envelope offsets are never zero (or
  36. max) is to prevent the ramp from underflowing/overflowing and
  37. fouling up.  An offset of 8 does mean 8, so don't set the ramp's
  38. endpoint to 0.  8 is effectively silent anyway, and when it's 
  39. reached, the volume can be set directly to 0 without causing a pop.
  40.  
  41. Phat.
  42.  
  43. ------------------------------
  44.  
  45. Date: 15 Jan 1994 21:28:43 +0700 (SST)
  46. From: TC <SH7126146@NTUVAX.NTU.AC.SG>
  47. Subject: GUSMOD and GUSPLAY
  48.  
  49. > From: tjakobs@mswe.dnet.ms.philips.nl (THEO_JAKOBS TEL.62667)
  50. > Subject: Using Gusmod in my sources
  51.  
  52. > But when i saw the listing, i was a little scared...
  53. > What do i need for loading, and playing a mod... I mean which code do i
  54. > need from the files...
  55.  
  56. I would suggest using GUSPLAY's code. It is much easier to understand
  57. and include in your programs.
  58.  
  59. > I also have another question... Will my code be faster if i put the
  60. > computer in 386 protected mode... I'm using some 286/386 code..
  61.  
  62. It'll give you some extra speed, and extra power. However, you'll have
  63. to modify your code quite significantly, as segments no longer have any
  64. meaning while selectors rule the day.
  65.  
  66. WildCat
  67.  
  68. ------------------------------
  69.  
  70. End of GUS Programmer's Digest V8 #14
  71. *************************************
  72.  
  73. To post to tomorrow's digest:                    <gus-sdk@dsd.es.com>
  74. To (un)subscribe or get help:            <gus-sdk-request@dsd.es.com>
  75. To contact a human (last resort):          <gus-sdk-owner@dsd.es.com>
  76.  
  77. FTP sites:           archive.epas.utoronto.ca              /pub/pc/ultrasound
  78.                      wuarchive.wustl.edu            /systems/ibmpc/ultrasound
  79.                      archive.orst.edu                    /pub/packages/gravis
  80.                      theoris.rz.uni-konstanz.de                /pub/sound/gus
  81.                      nctuccca.edu.tw                           /PC/ultrasound
  82. FTP mail server:     mail-server@nike.rz.uni-konstanz.de
  83.  
  84. Hints:
  85.       - Get the FAQ from the FTP sites or the request server.
  86.       - Mail to <gus-sdk-request@dsd.es.com> for info about other GUS
  87.     related mailing lists (general use, musician's, etc.).
  88.  
  89.  
  90.